﻿namespace 装饰模式
{
    //装饰类
    public abstract class Decorator:Phone
    {
        private Phone _phone;
        public Decorator(Phone p)
        {
            _phone = p;
        }

        public override void Print()
        {
           _phone?.Print();
        }
    }
}
